const http = uni.$u.http

// 用户端-抢单
export const orderGrabbing = (params) => http.post('/worldfavour/wfActivityOrder/orderGrabbing', params)

// 用户端-提交订单号
export const uploadOrderNumber = (params) => http.post('/worldfavour/wfActivityOrder/uploadOrderNumber', params)

// 用户端-上传截图
export const uploadOrderScreenshot = (params) => http.post('/worldfavour/wfActivityOrder/uploadOrderScreenshot', params)

// 用户端-订单列表
export const wfActivityOrderList = (params) => http.get('/worldfavour/wfActivityOrder/list', {params})

// 用户端-取消订单
export const cancelOrder = (params) => http.post('/worldfavour/wfActivityOrder/cancelOrder', params)

// 活动订单管理-通过id查询
export const wfActivityOrderQueryById = (params) => http.get('/worldfavour/wfActivityOrder/queryById', {params})

// 活动订单管理-通过id查询
export const editWfActivityOrder = (params) => http.post('/worldfavour/wfActivityOrder/edit', params)

